package tron.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ControllerTwo {

    @GetMapping("/functionTwo")
    public Object functionTwo() {
        if (true) {
            throw new RuntimeException("手动异常");
        }
        return "success";
    }
}
